package my.com.sunway.bean;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class F0005 implements Serializable {

    /** identifier field */
    private String drky;

    /** identifier field */
    private String drrt;

    /** identifier field */
    private String drsy;

    /** nullable persistent field */
    private String drdl01;

    /** nullable persistent field */
    private String drdl02;

    /** nullable persistent field */
    private String drsphd;

    /** nullable persistent field */
    private String drudco;

    /** nullable persistent field */
    private String drhrdc;

    /** nullable persistent field */
    private String druser;

    /** nullable persistent field */
    private String drpid;

    /** nullable persistent field */
    private Long drupmj;

    /** nullable persistent field */
    private String drjobn;

    /** nullable persistent field */
    private Double drupmt;

    /** full constructor */
    public F0005(String drky, String drrt, String drsy, String drdl01, String drdl02, String drsphd, String drudco, String drhrdc, String druser, String drpid, Long drupmj, String drjobn, Double drupmt) {
        this.drky = drky;
        this.drrt = drrt;
        this.drsy = drsy;
        this.drdl01 = drdl01;
        this.drdl02 = drdl02;
        this.drsphd = drsphd;
        this.drudco = drudco;
        this.drhrdc = drhrdc;
        this.druser = druser;
        this.drpid = drpid;
        this.drupmj = drupmj;
        this.drjobn = drjobn;
        this.drupmt = drupmt;
    }

    /** default constructor */
    public F0005() {
    }

    /** minimal constructor */
    public F0005(String drky, String drrt, String drsy) {
        this.drky = drky;
        this.drrt = drrt;
        this.drsy = drsy;
    }

    public String getDrky() {
        return this.drky;
    }

    public void setDrky(String drky) {
        this.drky = drky;
    }

    public String getDrrt() {
        return this.drrt;
    }

    public void setDrrt(String drrt) {
        this.drrt = drrt;
    }

    public String getDrsy() {
        return this.drsy;
    }

    public void setDrsy(String drsy) {
        this.drsy = drsy;
    }

    public String getDrdl01() {
        return this.drdl01;
    }

    public void setDrdl01(String drdl01) {
        this.drdl01 = drdl01;
    }

    public String getDrdl02() {
        return this.drdl02;
    }

    public void setDrdl02(String drdl02) {
        this.drdl02 = drdl02;
    }

    public String getDrsphd() {
        return this.drsphd;
    }

    public void setDrsphd(String drsphd) {
        this.drsphd = drsphd;
    }

    public String getDrudco() {
        return this.drudco;
    }

    public void setDrudco(String drudco) {
        this.drudco = drudco;
    }

    public String getDrhrdc() {
        return this.drhrdc;
    }

    public void setDrhrdc(String drhrdc) {
        this.drhrdc = drhrdc;
    }

    public String getDruser() {
        return this.druser;
    }

    public void setDruser(String druser) {
        this.druser = druser;
    }

    public String getDrpid() {
        return this.drpid;
    }

    public void setDrpid(String drpid) {
        this.drpid = drpid;
    }

    public Long getDrupmj() {
        return this.drupmj;
    }

    public void setDrupmj(Long drupmj) {
        this.drupmj = drupmj;
    }

    public String getDrjobn() {
        return this.drjobn;
    }

    public void setDrjobn(String drjobn) {
        this.drjobn = drjobn;
    }

    public Double getDrupmt() {
        return this.drupmt;
    }

    public void setDrupmt(Double drupmt) {
        this.drupmt = drupmt;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("drky", getDrky())
            .append("drrt", getDrrt())
            .append("drsy", getDrsy())
            .toString();
    }
    
    @Override
    public boolean equals(Object obj){
     boolean flag = false;
     
     if(obj instanceof F0005){
      F0005 other = (F0005)obj;
      
      if(other.toString().equals(toString())){
       flag = true;
      }
     }
     
     return flag;
    }
    
    @Override
    public int hashCode(){
     return toString().hashCode();
    }

}
